#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>


size_t my_strlen(const char* arr) {
	size_t cont = 0;
	while ((*arr) != '\0') {
		cont++;
		arr++;
	}
	return cont;
}
size_t my_strlen1(const char* arr) {
	size_t cont = 0;
	if ((*arr != '\0')) {
		return my_strlen1(arr + 1)+1;
	}
	else {
		return 1;
	}
	return cont;
}



char* my_strcpy(char* ar, const char* p) {
	char* a = ar;
	do {
		(*ar) = (*p);
		ar++;
		p++;
	} while ((*p) != '\0');
	return a;
}

char* my_strcat(char* arr, const char* p) {
	char* a = arr;
	while (*arr++)
		;
	arr--;
	while (*arr++ = *p++)
		;
	return a;
}












int main() {
	int a = 0;
	int b=--a + 1;
	printf("%d %d", a, b);













	return 0;
}